home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: lph@lvld.hp.com (Les Hammer)
- Newsgroups: comp.lang.c,comp.lang.c.moderated,hp.unix,comp.sys.hp.apps,comp.sys.hp.hpux
- Subject: Re: C coding problem
- Followup-To: comp.lang.c,comp.lang.c.moderated,hp.unix,comp.sys.hp.apps,comp.sys.hp.hpux
- Date: 10 Apr 1996 20:04:20 -0500
- Organization: Hewlett-Packard -=- Loveland, Colorado
- Sender: clc@solutions.solon.com
- Approved: clc@solutions.solon.com
- Message-ID: <4khlqk$t6a@solutions.solon.com>
- References: <4ianbf$h86@solutions.solon.com> <4io1io$no4@solutions.solon.com> <4j06na$808@solutions.solon.com> <4jttan$3gf@solutions.solon.com> <4jv7n3$d8o@solutions.solon.com> <4k60dr$abu@solutions.solon.com>
- NNTP-Posting-Host: solutions.solon.com
- X-Newsreader: TIN [version 1.2 PL1.4]
-
- Kazimir Kylheku wrote:
- > Niall Smart <nsmart@indigo.ie> wrote:
- > >
- > >>: I recently wrote a loop that went like this:
- > >
- > >>: while (p < end_p)
- > >>: ++*p++;
- > I wouldn't hire a C maintainer who didn't know the basic
- > precedence rules of the C language sufficiently well to
- > know what ++*p++ does,
-
- The program maintainer may be hired for other skills--that is, they know
- the subject of what the program is supposed to do, whether it be a banking
- skill, inventory of production, etc.. Not every programmer is primarily
- a programmer.
-
- But then, a well placed comment about this section of code should help.
-
- And it shouldn't break so the maintainer shouldn't ever have to touch it,
- right? :-)
-
- Regards,
-
- Les
-